package com.gpf.server;

import java.util.Map;

import com.gpf.pojo.PageObject;
import com.gpf.pojo.SysUser;
import com.gpf.pojo.SysUserDept;

public interface SysUserService {
	PageObject<SysUserDept> findPageObjects(String username,Integer pageCurrent);
	int validById(Integer id,Integer valid);
	int saveObject(SysUser entity,Integer[]roleIds);
	Map<String,Object> findObjectById(Integer userId) ;
	int updateObject(SysUser entity,Integer[] roleIds);
	int updatePassword(String password,String newPassword,String cfgPassword);
}

